package com.xin.ruanjian.omsystem.bean;

import java.util.List;

/**
 * Created by local123 on 2018/2/23.
 */

public class GoodsBean {

    /**
     * state : 1
     * msg : [{"dishList":[{"dprice":12,"flag":1,"dcontent":"这个第一个菜品","dpic":"","mid":1,"shopid":1,"dname":"菜品1","mname":"","did":1},{"dprice":12.01,"flag":1,"dcontent":"这是第二个菜品","dpic":"","mid":1,"shopid":1,"dname":"菜品2","mname":"","did":2}],"mid":1,"shopid":1,"mname":"菜单1"},{"dishList":[{"dprice":13,"flag":1,"dcontent":"这是第三个菜品","dpic":"","mid":2,"shopid":1,"dname":"菜品3","mname":"","did":3}],"mid":2,"shopid":1,"mname":"菜单2"},{"dishList":[],"mid":4,"shopid":1,"mname":"菜单4"}]
     */

    private int state;
    private List<MsgBean> msg;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public List<MsgBean> getMsg() {
        return msg;
    }

    public void setMsg(List<MsgBean> msg) {
        this.msg = msg;
    }

    public static class MsgBean {
        /**
         * dishList : [{"dprice":12,"flag":1,"dcontent":"这个第一个菜品","dpic":"","mid":1,"shopid":1,"dname":"菜品1","mname":"","did":1},{"dprice":12.01,"flag":1,"dcontent":"这是第二个菜品","dpic":"","mid":1,"shopid":1,"dname":"菜品2","mname":"","did":2}]
         * mid : 1
         * shopid : 1
         * mname : 菜单1
         */

        private int mid;
        private int shopid;
        private String mname;
        private List<DishBean> dishList;

        public int getMid() {
            return mid;
        }

        public void setMid(int mid) {
            this.mid = mid;
        }

        public int getShopid() {
            return shopid;
        }

        public void setShopid(int shopid) {
            this.shopid = shopid;
        }

        public String getMname() {
            return mname;
        }

        public void setMname(String mname) {
            this.mname = mname;
        }

        public List<DishBean> getDishList() {
            return dishList;
        }

        public void setDishList(List<DishBean> dishList) {
            this.dishList = dishList;
        }
    }
}
